<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>物流平台公共服务系统</title>
	<!-- 为IE9之前的版本创造HTML5的元素 -->
	<!--[if lt IE 9]>
		<script>
			var e = ("abbr,article,aside,audio,canvas,datalist,details,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video").split(',');
			for(var i = 1; i < e.length; i++)
				document.createElement(e[i]);
		</script>
	<![endif]-->
	<link rel="stylesheet" href='../Public/css/all.css' />
	<link rel="stylesheet" href='../Public/css/index.css' />
	<link rel="stylesheet" href='../Public/js/nivo-slider/nivo-slider.css' />
	<link rel="stylesheet" href='../Public/js/nivo-slider/themes/default/default.css' />
	<script src="../Public/js/jquery.js" type="text/javascript"></script>
	<script src="../Public/js/index.js" type="text/javascript"></script>
	<script src="../Public/js/nivo-slider/jquery.nivo.slider.pack.js" type="text/javascript"></script>
	<style>
		#slider {
			position:relative;
			width:640px; /* Change this to your images width */
			height:300px; /* Change this to your images height */
			background:url(images/loading.gif) no-repeat 50% 50%;
		}
		#slider img {
			position:absolute;
			top:0px;
			left:0px;
			display:none;
		}
		#slider a {
			border:0;
			display:block;
		}
		</style>
</head>

<body onload="shortCont()">
		<include file="Public:header" />
		<!-- 广告图片区 -->
		<div id="ad_container">
			<div id="adTitle">最新公告</div>
			<table id="ad_t_table">
				<tr class="borderTr">
					<td class="ad_td1 borderTd" id="td1_title">标题</td>
					<td class="ad_td3">发布时间</td>
				</tr>
			</table>
			<div id='ad'>
				<table id="ab_table">
					<volist name="notice_list" id="vo">
					<tr style="color:#666;">
						<td class="ad_td1"><a href="__GROUP__/Bulletins/view/?id={$vo.id}" name='con' title="{$vo.title}">{$vo.title}</a></td>
						<td class="ad_td3">{$vo.publishtime|date="y-m-d",###}</td>
					</tr>
					</volist>
				</table>
				<br />
				<table id="ab_table2"></table>
			</div>
		</div>
		<div id='pic'>
			<div class="slider-wrapper theme-default">
			<div class="ribbon"></div>
			<div id="slider">
				<volist name="pics" id="vo">
					<a href="__GROUP__/ConsultingReview"><img src="__APP__{$vo.savepath}" title="{$vo.title}" class="scroll_img"/></a>
				</volist>
			</div>
			<div id="htmlcaption" class="nivo-html-caption">
				<strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>.
			</div>
			</div>
			<script type="text/javascript">
			$(window).load(function() {
				$('#slider').nivoSlider();
				$(".nivo-controlNav").css("bottom","0");
			});
			</script>
		</div>
		<!-- 静态长条广告图片 -->
		<div class='adpic' id='pic1'>
		</div>
		<!-- 资讯导读块 -->
		<div id='information'>
			<div id='infTitle'>
				<img id='infpic' src='../Public/images/inf.png'/>
				<a href='__GROUP__/ConsultingReview'>资讯导读</a>
			</div>
			<div id='infContent'>
				<!-- 资讯导读导航 -->
				<nav id='infNav'>
					<ul style="font-weight:600;">
						<li class='infLi' id = "info_1">物流动态</li>
						<li class='infLi'id = "info_2" >港航动态</li>
						<li class='infLi'id = "info_3">海关动态</li>
						<li class='infLi'id = "info_4">经贸信息</li>
						<li class='infLi'id = "info_5">政策解读</li>
						<li class='infLi'id = "info_6">空港企业</li>
					</ul>
				</nav>
				<!-- 资讯导航内容 -->
				<div id='infCon'>
					<!-- 物流动态 -->
					<div id = "infcontent_1" >
					<table class="ziXunTable" >
						<tr class="borderTr">
							<td class="td1  borderTd td1_titile">标题</td>
							<td class="td2 borderTd">类型</td>
							<td class="td3 borderTd">发布人</td>
							<td class="td4">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="logistics_list" id="vo">
					<tr style="line-height:30px; color:#666;">
						<td class="td1"><a href="__GROUP__/LogisticsDynamicPorts/view/?id={$vo.id}" name='con_1' title="{$vo.title}">{$vo.title}</a></td>
						<td class="td2 ">{$vo.type}</td>
						<td class="td3 ">{$vo.publisher}</td>
						<td class="td4">{$vo.publishtime|date="y-m-d",###}</td>
					</tr>
					</volist>
					</table>
					</div>
					<!-- 港航动态 -->
					<div id = "infcontent_2">
					<table class="ziXunTable">
						<tr class="borderTr">
							<td class="td1 td1_titile borderTd">标题</td>
							<td class="td2 borderTd">类型</td>
							<td class="td3 borderTd">发布人</td>
							<td class="td4">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="waterway_list" id="vo">
						<tr style="line-height:30px;color:#666;">
							<td class="td1"><a href="__GROUP__/WaterwayDynamicCargos/view/?id={$vo.id}" name='con_1' title="{$vo.title}">{$vo.title}</a></td>
							<td class="td2">{$vo.type}</td>
							<td class="td3">{$vo.publisher}</td>
							<td class="td4">{$vo.publishtime|date="y-m-d",###}</td>
						</tr>
					</volist>
					</table>
					</div>
					<!-- 海关动态 -->
					<div id = "infcontent_3" >
					<table class="ziXunTable">
						<tr class="borderTr">
							<td class="td1 td1_titile borderTd">标题</td>
							<td class="td2 borderTd">类型</td>
							<td class="td3 borderTd">发布人</td>
							<td class="td4">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="custom_list" id="vo">
						<tr style="line-height:30px;color:#666;">
							<td class="td1"><a href="__GROUP__/CustomsDynamic/view/?id={$vo.id}" name='con_1' title="{$vo.title}">{$vo.title}</a></td>
							<td class="td2">{$vo.type}</td>
							<td class="td3">{$vo.publisher}</td>
							<td class="td4">{$vo.publishtime|date="y-m-d",###}</td>
						</tr>
					</volist>
					</table>
					</div>
					<!-- 经贸信息 -->
					<div id = "infcontent_4" >
					<table class="ziXunTable">
						<tr class="borderTr">
							<td class="td1 td1_titile borderTd">标题</td>
							<td class="td2 borderTd">类型</td>
							<td class="td3 borderTd">发布人</td>
							<td class="td4">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="economy_list" id="vo">
						<tr style="line-height:30px;color:#666;">
							<td class="td1"><a href="__GROUP__/EconomyAndTrade/view/?id={$vo.id}" name='con_1' title="{$vo.title}">{$vo.title}</a></td>
							<td class="td2">{$vo.type}</td>
							<td class="td3">{$vo.publisher}</td>
							<td class="td4">{$vo.publishtime|date="y-m-d",###}</td>
						</tr>
					</volist>
					</table>
					</div>
					<!-- 政策解读 -->
					<div id = "infcontent_5" >
					<table class="ziXunTable">
						<tr class="borderTr">
							<td class="td1 td1_titile borderTd">标题</td>
							<td class="td2 borderTd">类型</td>
							<td class="td3 borderTd">发布人</td>
							<td class="td4">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="policy_list" id="vo">
						<tr style="line-height:30px;color:#666;">
							<td class="td1"><a href="__GROUP__/PolicyInterpretation/view/?id={$vo.id}" name='con_1' title="{$vo.title}">{$vo.title}</a></td>
							<td class="td2">{$vo.type}</td>
							<td class="td3">{$vo.publisher}</td>
							<td class="td4">{$vo.publishtime|date="y-m-d",###}</td>
						</tr>
					</volist>
					</table>
					</div>
					<!-- 空港企业 -->
					<div id = "infcontent_6" >
					<table class="ziXunTable">
						<tr class="borderTr">
							<td class="p_td1 borderTd">企业名</td>
							<td class="p_td2 borderTd">企业类型</td>
							<td class="p_td3 borderTd">详细信息</td>
							<td class="p_td4 borderTd">链接</td>
							<td class="p_td5">发布时间</td>
						</tr>
						<tr style="height:10px"></tr>
					<volist name="airport_list" id="vo">
						<tr style="line-height:30px;color:#666;">
							<td class="p_td1"><a href="__GROUP__/AirportEnterpriseInformation/view/?id={$vo.id}" name='con_1' title="{$vo.enterprise_name}">{$vo.enterprise_name}</a></td>
							<td class="p_td2">{$vo.enterprise_type}</td>
							<td class="p_td3">{$vo.detail_info }</td>
							<td class="p_td4"><a href = "http://{$vo.index_link }" >{$vo.index_link }</a></td>
							<td class="p_td5">{$vo.publishtime|date="y-m-d",###}</td>
						</tr>
					</volist>
					</table>
					</div>
				</div>
			</div>
		</div>
		<!-- 动态图片广告条 -->
		<div class='adpic' id='pic2'>
		</div>
		<!-- 货物代理块 -->
		<div class='fourdiv' id='agency'>
			<div class='divTitle'>
				<a class='divA' href='__GROUP__/CargoAgent'>货物代理</a>
			</div>
			<div class='divContent'>
				<table>
					<tr class="borderTr">
						<td class="f_a_td1 f_td_title borderTd">货代名称</td>
						<td class="f_a_td2 borderTd">货代类型</td>
						<td class="f_td3 ">公司连接</td>
					</tr>
					<tr style="height:8px"></tr>
					<volist name="agent_list" id="vo">
					<tr style="color:#666;">
						<td class="f_a_td1"><a href="__GROUP__/CargoAgent/view/?id={$vo.id}"name='con_2' title="{$vo.agentname}">{$vo.agentname}</a></td>
						<td class="f_a_td2">{$vo.cargotype}</td>
						<td class="f_a_td3"><a href = "http://{$vo.link}" name="con_3" title="{$vo.link}">{$vo.link}</a></td>
					</tr>
					</volist>
				</table>
			</div>
		</div>
		<!-- 物流金融块 -->
		<div class='fourdiv' id='finance'>
			<div class='divTitle'>
				<a class='divA' href='__GROUP__/Finance'>物流金融</a>
			</div>
			<div class='divContent'>
				<table>
					<tr class="borderTr">
						<td class="f_td1 f_td_title borderTd">标题</td>
						<td class="f_td2 borderTd">发布人</td>
						<td class="f_td3">发布时间</td>
					</tr>
					<tr style="height:8px"></tr>
					<volist name="news_list" id="vo">
					<tr style="color:#666;">
						<td class="f_td1"><a href="__GROUP__/Finance/industrynews_view/?id={$vo.id}" name='con_2' title="{$vo.title}">{$vo.title}</a></td>
						<td class="f_td2">{$vo.publisher}</td>
						<td class="f_td3">{$vo.publishtime|date="y-m-d",###}</td>
					</tr>
					</volist>
				</table>
			</div>
		</div>
		<!-- 截关信息动态与可进出口柜块 -->
		<div class='fourdiv' id='port'>
			<div class='divTitle'>
				<a class='divA' href='__GROUP__/FileManage'>截关信息动态与可进出口柜</a>
			</div>
			<div class='divContent'>
				<table>
					<tr class="borderTr">
						<td class="f_td1 f_td_title borderTd">标题</td>
						<td class="f_td2 borderTd">发布人</td>
						<td class="f_td3" align="right">发布时间</td>
					</tr>
					<tr style="height:8px"></tr>
					<volist name="port_list" id="vo">
					<tr  style="color:#666;">
						<td class="f_td1"><a href="__GROUP__/FileManage/view/?id={$vo.id}" name='con_2' title="{$vo.title}">{$vo.title}</a></td>
						<td class="f_td2">{$vo.publisher}</td>
						<td class="f_td3">{$vo.publishtime|date="y-m-d",###}</td>
					</tr>
					</volist>
				</table>
			</div>
		</div>
		<!-- 广告信息块 -->
		<div class='fourdiv' id='advertisement'>
			<div class='divTitle'>
				<a class='divA' href='__GROUP__/Advertisement'>广告信息</a>
			</div>
			<div class='divContent'>
				<table>
					<tr class="borderTr">
						<td class="f_td1 f_td_title borderTd">航空公司</td>
						<td class="f_p_td2 borderTd">货运量排名</td>
						<td class="f_p_td3">联系方式</td>
					</tr>
					<tr style="height:8px"></tr>
					<volist name="ad_list" id="vo">
					<tr style="color:#666;">
						<td class="f_td1"><a href="__GROUP__/AdvertisingInformationAirline/view/?id={$vo.id}" name='con_2' title="{$vo.airline_name}">{$vo.airline_name}</a></td>
						<td class="f_p_td2">{$vo.shipment}</td>
						<td class="f_p_td3">{$vo.contact_information}</td>
					</tr>
					</volist>
				</table>
			</div>
		</div>
		<!-- 动态图片广告条 -->
		<div class='adpic' id='pic3'>
		</div>
		<include file="Public:footer" />
<script>
//当文字超过num个时，后面的变成...
function shortCont(){
	var con = document.getElementsByName("con");
	var n = con.length;
	for(var i=0;i < n; i++){
		var o = con[i].innerHTML;
		if(o.length > 18){
			o = o.substr(0,18);
			o += "...";
		}
		con[i].innerHTML = o;
	}
	var con_1 = document.getElementsByName("con_1");
	var n = con_1.length;
	for(var i=0;i < n; i++){
		var o = con_1[i].innerHTML;
		if(o.length > 30){
			o = o.substr(0,30);
			o += "...";
		}
		con_1[i].innerHTML = o;
	}
	var con_2 = document.getElementsByName("con_2");
	var n = con_2.length;
	for(var i=0;i < n; i++){
		var o = con_2[i].innerHTML;
		if(o.length > 14){
			o = o.substr(0,14);
			o += "...";
		}
		con_2[i].innerHTML = o;
	}
	var con_3 = document.getElementsByName("con_3");
	var n = con_3.length;
	for(var i=0;i < n; i++){
		var o = con_3[i].innerHTML;
		if(o.length > 30){
			o = o.substr(0,30);
			o += "...";
		}
		con_3[i].innerHTML = o;
	}
}
</script>
</body>
</html>
